package com.bdgls.common;

/**
 * Created by yibo on 2016-6-20.
 */
public class SimpleTest {
    public static void main(String[] args) {
        try {
            System.out.print("hello.percent:");
            for (int i = 0; i < 100; i++) {

                String msg ="A:"+ i + "%,B:"+i*2+"%,C:"+i*3+"%";
                System.out.print(msg);
                Thread.sleep(500);

                for (int j = 0; j < msg.length(); j++) {
                    System.out.print("\b");
                }

            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
